package demo2;

public class Testdemo2 {
    public static void main(String[] args) {
        B b = new B();
        final int[] array = {1,2,3,4,5};
//        array = new int[10];
        array[0] = 10;
    }
//    protected int a = 10;
}

 class A {
}
class B extends A {
}



class Old {

}
class Home {
    public Old[] olds;
    public Home() {
        this.olds = new Old[2];
    }
}